package com.kly.user.enums;

public enum SocialConnectionsType {

    ICON_LOOKING_FOR_DATING(
            "https://storage.googleapis.com/meboo-online-b68e7.appspot.com/images/icon_looking_for_dating.png",
            "Making new friends"),

    ICON_MAKE_NEW_FRIENDS(
            "https://storage.googleapis.com/meboo-online-b68e7.appspot.com/images/icon_make_new_friends.png",
            "Seeking a long-term partner"),

    ICON_SEEKING_LONG_TERM(
            "https://storage.googleapis.com/meboo-online-b68e7.appspot.com/images/icon_seeking_long_term.png",
            "Looking for a dating partner"),


    ;

    private String imageUrl;

    private String value;

    public static SocialConnectionsType getByCode(String value) {
        for (SocialConnectionsType rt : values()) {
            if (rt.value .equals(value) ) {
                return rt;
            }
        }
        return null;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    SocialConnectionsType(String imageUrl, String value) {
        this.imageUrl = imageUrl;
        this.value = value;
    }
}
